package com.flying.abs;

/**
 * @ClassName: PoliceDog
 * @createDate: 2023/6/28 16:42
 * @author: liu
 * @description:
 */
public class PoliceWorkDog extends WorkDog {
    public PoliceWorkDog() {
    }

    public PoliceWorkDog(String name, int age) {
        super(name, age);
    }

    @Override
    public void work() {
        System.out.println("警犬正在抓坏人");
    }
}
